package org.iabako.shared.entity.enumeration;

import org.iabako.client.tools.Messages;

/**
 * Created by jose on 28/10/14.
 */
public enum PaymentMethod implements LabelEnum {

    cash("payment_method_cash"),
    bankCard("payment_method_bank_card"),
    bankCheck("payment_method_bank_check"),
    bankTransaction("payment_method_bank_transaction"),
    otherKindOfCard("payment_method_other_kind_of_card"),
    otherKindOfCheck("payment_method_other_kind_of_check"),
    otherKindOfTransaction("payment_method_other_kind_of_transaction");

    String labelKey;

    PaymentMethod(String labelKey) {
        this.labelKey = labelKey;
    }

    public String getLabel() {
        return Messages.getLabel(labelKey);
    }

    public String getLabelKey() {
        return labelKey;
    }
}
